package dao;

import java.util.List;

import imageUtil.Page;
import model.Department;

public interface DepartmentDAO {
	
	public int findByCount() throws Exception;
	
	public List<Department> findByAll(Page page) throws Exception;

	public List<Department> findByName() throws Exception;

	public boolean saveDepartment(String departmentName, String description);
	
	public boolean updateDepartment(int id,String departmentName,String description) throws Exception;

	public List<Department> findByAll() throws Exception;
}
